﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RobotBattle2.Scripting;

namespace RobotBattle2.Rsl2 {
	partial class Token {
		public static implicit operator SymbolReference(Token from) {
			return new SymbolReference(
				from.val,
				from
			);
		}


		public static implicit operator SourceLocation(Token from) {
			return new SourceLocation(
				from.filename,
				from.line,
				from.col
			);
		}
	}
}
